package com.shushan.home.bean;

import com.android.net.bean.NetBaseBean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @ClassName: UpdateBean
 * @Desciption: 更新返回bean
 * @author: yichaohua
 * @date: 2018-06-07
 */
public class UpdateBean  extends NetBaseBean {

    public int android_update_type;
    public String android_version;
    public String android_update_description;
    public String android_update_url;
    public String time;

    @Override
    public void initByJson(JSONObject jsonObject) throws JSONException {
        android_update_type = jsonObject.optInt("android_update_type",0);
        android_version = jsonObject.optString("android_version","");
        android_update_description = jsonObject.optString("android_update_description","");
        android_update_url = jsonObject.optString("android_update_url","");
        time = jsonObject.optString("time","");
    }
}
